package cate.common.table.activity.throne;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;

@NoteClass("等级组")
public class TBLevelGroupRow extends ERow {

    @NoteField("分组")
    public int group;

    @NoteField("等级下限")
    public int levelMin;

    @NoteField("等级上限")
    public int levelMax;

    @NoteField("段位赛段位")
    public int dwsStar;

    @NoteField("胜败组对决奖励")
    public String championRwdStr;


    @Override
    public void parse(XSSFRowWrap xrw) {
        super.parse(xrw);
        this.id = xrw.getInteger("分组", 0);
        this.group = xrw.getInteger("分组", 0);
        this.levelMin = xrw.getInteger("等级下限", 0);
        this.levelMax = xrw.getInteger("等级上限", 0);
        this.dwsStar = xrw.getInteger("段位赛段位", 0);
        this.championRwdStr = xrw.getString("胜败组对决奖励");
    }
}
